From: Florian Müllner Date: Fri, 6 Mar 2015 17:57:19 +0000 (+0100) Subject: popupMenu: Center separators vertically X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1549 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e1816cd228a36ac8dc636659683d1d0e73ed0d56;p=gnome-shell.git popupMenu: Center separators vertically --- diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index 062701ac3..72a62bdf3 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -263,7 +263,9 @@ const PopupSeparatorMenuItem = new Lang.Class({ Lang.bind(this, this._syncVisibility)); this._syncVisibility(); - this._separator = new St.Widget({ style_class: 'popup-separator-menu-item' }); + this._separator = new St.Widget({ style_class: 'popup-separator-menu-item', + y_expand: true, + y_align: Clutter.ActorAlign.CENTER }); this.actor.add(this._separator, { expand: true }); },